package com.hmsg.health.config;

import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author LuJunQiao
 * @version 2017年5月25日 上午10:37:20
 * @since 1.0.0
 * @Description 类说明
 */
@XmlRootElement
public class WxNotifyResponse {
	private String return_code;
	private String return_msg;

	public String getReturn_code() {
		return return_code;
	}

	public void setReturn_code(String return_code) {
		this.return_code = return_code;
	}

	public String getReturn_msg() {
		return return_msg;
	}

	public void setReturn_msg(String return_msg) {
		this.return_msg = return_msg;
	}

	public static WxNotifyResponse success() {
		WxNotifyResponse response = new WxNotifyResponse();
		response.setReturn_code("SUCCESS");
		response.setReturn_msg("OK");
		return response;
	}

	public static WxNotifyResponse fail() {
		WxNotifyResponse response = new WxNotifyResponse();
		response.setReturn_code("FAIL");
		response.setReturn_msg("FAIL");
		return response;
	}
}
